package com.toplabs.unashu.service;

import cn.hutool.json.JSONObject;
import com.toplabs.unashu.entity.User;
import com.toplabs.unashu.exception.ServiceException;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author ityanger
 * @since 2020-08-23
 */
public interface UserService {
    JSONObject checkUser(String username, String password) throws ServiceException;

    User queryUserByName(@Param("username") String username);
}